package com.example.hospital.api.service;

import com.example.hospital.api.db.pojo.DoctorWorkPlanScheduleEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DoctorWorkPlanScheduleService {
    public void insert(ArrayList<DoctorWorkPlanScheduleEntity> list);

    ArrayList searchDeptSubSchedule(Map param);

    HashMap searchByWorkPlanId(int workPlanId);

    public void updateSchedule(Map param);

    @Transactional
    void deleteByWorkPlanId(int workPlanId);
}
